package user;

import book.BookList;
import operation.Ioper;

public abstract class User {
    protected String userName;
    protected Ioper[] operations;

    public User(String name){
        this.userName=name;
    }

    public abstract int menu();

    public void doIoperations(int choice, BookList bookList) {
        this.operations[choice].work(bookList);
    }
}
